You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="12117" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Another Wiki Nonmoderator" timestamp="2021-10-23T17:28:56Z" comment="/* Content Pages */ new year" />
          <rev user="Another Wiki Nonmoderator" timestamp="2020-09-17T16:44:49Z" comment="/* Content Pages */ new year" />
          <rev user="Another Wiki Nonmoderator" timestamp="2019-08-06T22:03:04Z" comment="/* Content Pages */" />
          <rev user="Another Wiki Nonmoderator" timestamp="2018-08-30T00:09:34Z" comment="/* Content Pages */ New year" />
          <rev user="Another Wiki Nonmoderator" timestamp="2017-08-30T05:15:39Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
</api>